package com.doudou.oauth.entity.properties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 傻男人
 * @date 2020-05-21 21:32
 * @describe  短信验证码的参数信息
 */
@Data
@ApiModel("短信验证码的参数信息")
public class SmsCodeProperties implements Serializable {

    @ApiModelProperty("验证码的长度")
    private int length = 4;

    @ApiModelProperty("验证码的过期时间")
    private int expireIn = 60;

    /**
     * 需要验证图形验证码的url地址
     */
    @Ignore
    private List<String> urls;
}